home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / emacssrc.zip / EMACSSRC.TAR / emacs-19.17 / install.nt < prev    next >
Text File  |  1993-12-09  |  2KB  |  76 lines

  1.  
  2. INSTALL ONLY
  3.  
  4. If you have the executables for emacs and want to skip the build phase,
  5. then do the following:
  6.  
  7. (1) Make sure that the exeutables (e.g., emacs.exe, etags.exe, etc.)
  8.     are in .\bin
  9.  
  10. (2) Skip to 3 below, but use fast-install.cmd instead of install.cmd
  11.  
  12. BUILD AND INSTALL
  13.  
  14. To build and install emacs on NT, you need to do the following:
  15.  
  16. (1) You need to set three environment variables:
  17.  
  18. BUILD_DEFAULT_TARGETS: Presently, must be set to either -mips or -386
  19.                (the mips build assumes r4000, which it probably 
  20.             shouldn't)
  21.  
  22.           INC: The full path of your NT .h files.
  23.  
  24.           LIB: The full path of your NT .lib files.
  25.                       (coffbase.txt must be at $(LIB)\..\coffbase.txt)
  26.  
  27. An example setting could be:
  28.  
  29. set BUILD_DEFAULT_TARGETS=-386
  30. set INC=C:\mstools\h
  31. set LIB=C:\mstools\lib
  32.  
  33. or modify and use the setvars.cmd command file.
  34.  
  35. (2) Build the executables.  The target to compile the sources is "all",
  36.     and is recursive starting at this directory.  The makefiles for the NT 
  37.     port are in files named "nmkfile", so, to get things started, type
  38.     in this directory:
  39.  
  40. nmake -f nmkfile all
  41.  
  42. or use the ebuild.cmd file.
  43.  
  44. (If you are using the VC++ compiler, I've been told that you might see
  45. a warning message about CL386 invoking to CL.)
  46.  
  47.  
  48. (3) You've already chosen a directory to put the sources (or you wouldn't
  49.     be reading this), and now you must choose a directory in which
  50.     to install what you've just built.  Edit the top level nmkfile
  51.     (in this directory) and modify the INSTALL_DIR macro to point to
  52.     the directory in which you want emacs installed.  In addition,
  53.     modify the "emacs.cmd" file and set the INSTALL_DIR variable to the
  54.     same value.
  55.  
  56.     Now install emacs.  From this directory,
  57.  
  58. nmake -f nmkfile install
  59.  
  60. or use the install.cmd file.
  61.  
  62. (4) Create a program manager icon for the %INSTALL_DIR%\emacs.cmd file.
  63.     If you want to use a .emacs (or emacs.dot on FAT) file, make sure
  64.     that you set your HOME environment variable to point to the
  65.     directory in which it is found (there has to be a better way...).
  66.  
  67. (5) Either click on the icon, or run the emacs.cmd file, and away you go.
  68.  
  69. ------------------------------------------------------------------------------
  70. NOTES:
  71.  
  72. The emacs executable is built in src, and random programs associated
  73. with emacs are built in lib-src (only two programs, however, are
  74. installed: etags.exe and ctags.exe).  
  75.  
  76.